package HomeWorkNewYear;

import com.sun.xml.internal.ws.api.model.wsdl.WSDLOutput;

public class Day05MethodDemo {
    public static void main(String[] args) {
        say();
        say("zhangsan");
        say("zhangsan", 59);


    }
        public static void say(){
            System.out.println("大家好，我叫王满满，今年18岁le");
        }
        public static void say(String name){
            System.out.println("大家好，我叫"+name+"，今年18岁le");
        }
    public static void say(String name,int age){
        if (age>60){
            return;
        }
        System.out.println("大家好，我叫"+name+"，今年"+age+"岁le");
    }


}
